package edu.nf.ch02;

import edu.nf.ch02.entity.User;
import edu.nf.ch02.service.UserService;

/**
 * @author wangl
 * @date 2025/4/23
 */
public class Main {

    public static void main(String[] args) {
        User user = new User();
        user.setName("user3");
        user.setAge(30);
        UserService userService = new UserService();
        userService.save(user);
        System.out.println(user.getId());
    }
}